package com.yubest.designpattern.create.factory.methodfactory;

import com.yubest.designpattern.create.factory.bean.Clothes;
import com.yubest.designpattern.create.factory.bean.Product;

/**
 * 衣服-工厂方法
 *
 * @Author: hweiyu
 * @Date: 2022/10/26 11:19
 */
public class ClothesFactoryMethod implements FactoryMethod {

    @Override
    public Product create() {
        return new Clothes();
    }
}
